GtkStyleContext: invalidate context when setting the screen
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 11 Sep 2010 10:47:31 +0000 (12:47 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:14 +0000 (15:38 +0100)
gtk/gtkstylecontext.c

index 106f78ae22431da82b627f834b5ef08911f1cf5b..522a3e2549e93c309a0a4abfe4ec38bbae8c2fee 100644 (file)
@@ -1615,6 +1615,8 @@ gtk_style_context_set_screen (GtkStyleContext *context,
   priv->screen = screen;
 
   g_object_notify (G_OBJECT (context), "screen");
+
+  gtk_style_context_invalidate (context);
 }
 
 GdkScreen *